-
-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Greek font table and GR translation #1121
Conversation
Signed-off-by: Devnol <pgkoutsoumanis@gmail.com>
Please do not merge yet as there are some untranslated strings for whose I do not have context yet, waiting for the build output to see them. |
Translations/font_tables.py
Outdated
@@ -325,6 +325,70 @@ def get_font_map_latin_extended() -> Dict[str, bytes]: | |||
} | |||
return font | |||
|
|||
#TODO: Add Greek Font |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the TODO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry, chronic brain damage from watching Stanley Kubrick
Translations/font_tables.py
Outdated
@@ -749,6 +814,69 @@ def get_small_font_map_latin_extended() -> Dict[str, bytes]: | |||
} | |||
return font | |||
|
|||
#TODO: Add small greek font |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
Translations/font_tables.py
Outdated
@@ -772,7 +900,7 @@ def get_small_font_map_cyrillic() -> Dict[str, bytes]: | |||
"А": b"\x7e\x09\x09\x09\x7e\x00", | |||
"Б": b"\x7f\x49\x49\x49\x31\x00", | |||
"В": b"\x7f\x49\x49\x49\x36\x00", | |||
"Г": b"\x7f\x01\x01\x01\x01\x00", | |||
"Г": b"\x7f\x49\x49\x49\x36\x00", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change accidental?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I accidentally cmd+v'd instead of cmd+c'ing and it got changed into a B
You should probably add IronOS/Translations/TranslationEditor.html Line 308 in bc7d106
|
Will do right now. |
Guess this has to wait for @Ralim to approve the workflow. In the meantime you can probably enable GitHub Actions in your fork to test things out now. |
Signed-off-by: Devnol <pgkoutsoumanis@gmail.com>
I was trying to test the changes locally but make somehow only builds english (see #1120) |
Enabling Actions in your fork is simple enough, just visit https://github.com/Devnol/IronOS/actions and click the button. |
ik I did it I just need to commit again to trigger the workflow |
Any idea where the |
Probably in the detailed idle screen (need to enable it in settings), or might've been obsolete after someone revamped the detailed idle screen |
Nope, not there, it was probably removed as I can't find a reference to it in any of the source files, so I'll just leave it as-is |
Signed-off-by: Devnol <pgkoutsoumanis@gmail.com>
Signed-off-by: Devnol <pgkoutsoumanis@gmail.com>
Oops sorry for forgetting to enable actions. |
I believe they are not used at the moment. I shall try and clean these up later on Is this done by you btw? (I dont have time to do testing at the moment - away from devices) but happy to merge on your 👍🏼 |
both EL and GR are valid, usually EL is used for the language and GR for the country because there's also the el_CY locale used in cyprus which just has different measuring units and doesn't apply to IronOS. There shouldn't be any collision but if you wanna be precise EL is the correct code. Fyi it's not weird EL comes from the greek name for the language, which is Ellinika (same root as Hellenic). If you want, I'll fix it once I get home. |
I'd prefer |
Signed-off-by: Devnol <pgkoutsoumanis@gmail.com>
No description provided.